<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加</title>
<link href="__STATIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">表单</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>基本信息</span></div>
    <form method="post"  enctype="multipart/form-data">
    <ul class="forminfo">
    <li><label>班级名称</label><input name="c_name" type="text" class="dfinput" id="c_name"/><i>班级名称不能为空</i></li>
    <li><label>番号</label><cite><input name="c_slogan" type="text" class="dfinput" /></li>
    <li><label>大队名</label><input name="c_bteam" type="text" class="dfinput" /></li>
    <li><label>小队名</label><input name="c_steam" type="text" class="dfinput" /></li>
    <li><label>&nbsp;</label><input name="sub" type="submit" class="btn" value="添加" onclick="return yz()"/></li>
    </ul>
    </div>
     <script>
        function yz()
        {
        	var c_name=document.getElementById("c_name");
        	if(c_name.value=='')
        		{
        		   alert("班级名称不能为空");
        		   c_name.focus();
        		   return false;
        		}
        }
    </script>
</body>
</html>
